package com.gitee.fsmxm.ocon.constant;

/**
 * Specifies the format to use when opening a document.
 *
 * @author fsmxm
 * @see <a href="https://docs.microsoft.com/en-us/office/vba/api/word.wdopenformat">word.wdopenformat</a>
 */
public final class WdOpenFormat {
    private WdOpenFormat() {
    }

    /**
     * A Microsoft Word format that is backward compatible with earlier versions of Word.
     */
    public static final int WD_OPEN_FORMAT_ALL_WORD = 6;
    /**
     * The existing format.
     */
    public static final int WD_OPEN_FORMAT_AUTO = 0;
    /**
     * Word format.
     */
    public static final int WD_OPEN_FORMAT_DOCUMENT = 1;
    /**
     * Encoded text format.
     */
    public static final int WD_OPEN_FORMAT_ENCODED_TEXT = 5;
    /**
     * Rich text format (RTF).
     */
    public static final int WD_OPEN_FORMAT_RTF = 3;
    /**
     * As a Word template.
     */
    public static final int WD_OPEN_FORMAT_TEMPLATE = 2;
    /**
     * Unencoded text format.
     */
    public static final int WD_OPEN_FORMAT_TEXT = 4;
    /**
     * OpenDocument Text format.
     */
    public static final int WD_OPEN_FORMAT_DOCUMENT_TEXT = 18;
    /**
     * Unicode text format.
     */
    public static final int WD_OPEN_FORMAT_UNICODE_TEXT = 5;
    /**
     * HTML format.
     */
    public static final int WD_OPEN_FORMAT_WEB_PAGES = 7;
    /**
     * XML format.
     */
    public static final int WD_OPEN_FORMAT_XML = 8;
    /**
     * Word template format.
     */
    public static final int WD_OPEN_FORMAT_ALL_WORD_TEMPLATES = 13;
    /**
     * Microsoft Word 97 document format.
     */
    public static final int WD_OPEN_FORMAT_DOCUMENT97 = 1;
    /**
     * Word 97 template format.
     */
    public static final int WD_OPEN_FORMAT_TEMPLATE97 = 2;
    /**
     * XML document format.
     */
    public static final int WD_OPEN_FORMAT_XML_DOCUMENT = 9;
    /**
     * Open XML file format saved as a single XML file.
     */
    public static final int WD_OPEN_FORMAT_XML_DOCUMENT_SERIALIZED = 14;
    /**
     * XML document format with macros enabled.
     */
    public static final int WD_OPEN_FORMAT_XML_DOCUMENT_MACRO_ENABLED = 10;
    /**
     * Open XML file format with macros enabled saved as a single XML file.
     */
    public static final int WD_OPEN_FORMAT_XML_DOCUMENT_MACRO_ENABLED_SERIALIZED = 15;
    /**
     * XML template format.
     */
    public static final int WD_OPEN_FORMAT_XML_TEMPLATE = 11;
    /**
     * Open XML template format saved as a XML single file.
     */
    public static final int WD_OPEN_FORMAT_XML_TEMPLATE_SERIALIZED = 16;
    /**
     * XML template format with macros enabled.
     */
    public static final int WD_OPEN_FORMAT_XML_TEMPLATE_MACRO_ENABLED = 12;
    /**
     * Open XML template format with macros enabled saved as a single XML file.
     */
    public static final int WD_OPEN_FORMAT_XML_TEMPLATE_MACRO_ENABLED_SERIALIZED = 17;


}
